import request from '@/utils/request'


export function querytask(user, username) {
    return request({
        url: 'activiti/Querytask',
        method: 'get',
        params: { user, username }
    })
}

//完成个人流程节点
export function mycomplete(daibanid) {
    return request({
        url: '/activiti/mycomplete',
        method: 'get',
        params: { daibanid }

    })
}

export function queryuser(params) {
    return request({
        url: 'activiti/Assignee',
        method: 'get',
        params
    })
}